import {checkPermi} from "@/utils/permission";

/** 检查项目删除权限 */
export function checkProjectDeletePermi(project,memberId) {
  return (project.createById==memberId || checkPermi(['system:project:remove']));
}
/** 检查项目编辑权限 */
export function checkProjectEditPermi(project,memberId) {
  return (project.createById==memberId || checkPermi(['system:project:edit']));
}


